Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim instance As ITaskRuntimeManagement Dim targets As IEnumerable(Of T) Dim task As ManagementPackTask Dim configuration As TaskConfiguration Dim callback As TaskStatusChangeCallback Dim returnValue As Guid returnValue = instance.SubmitTask(targets, task, configuration, callback) |
Syntax
Visual Basic |
---|
Function SubmitTask(Of T As EnterpriseManagementObject) ( _ targets As IEnumerable(Of T), _ task As ManagementPackTask, _ configuration As TaskConfiguration, _ callback As TaskStatusChangeCallback _ ) As Guid |
C# |
---|
Guid SubmitTask<T> ( IEnumerable<T> targets, ManagementPackTask task, TaskConfiguration configuration, TaskStatusChangeCallback callback ) where T : EnterpriseManagementObject |
C++ |
---|
generic<typename T> where T : EnterpriseManagementObject Guid SubmitTask ( IEnumerable<T>^ targets, ManagementPackTask^ task, TaskConfiguration^ configuration, TaskStatusChangeCallback^ callback ) |
J# |
---|
|
JScript |
---|
|
GenericParameters
- T
Parameters
- targets
-
The entities to target.
- task
-
The task to submit.
- configuration
-
The configuration of the task.
- callback
-
The optional callback to notify the client on.
Return Value
Returns Guid. The batch ID of the submitted task.Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.